class settings:
    # 储存游戏的相关设置

    def __init__(self):
        # 默认构造函数，初始化设置
        # 屏幕设置
        self.screen_length = 1200
        self.screen_width = 800
        self.bg_color = (0, 0, 0)
        # 飞船的速度初始化
        self.ship_speed_factor = 0.6

        # 子弹的初始化
        self.bullet_speed_factor = 1
        self.bullet_height = 15
        self.bullet_width = 3
        self.bullet_color = (60, 60, 60)
        self.bullets_allowed = 20

        # 外星人初始化
        self.alien_speed_factor = 1
        self.fleet_drop_factor = 1
        self.fleet_direction = 1



